home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magic Disk 64
/
Magic_Disk_64_93-07_1993_-_de_Side_B.d64
/
phone master
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
8KB
|
261 lines
91 clr:m=24000:dimn$(1001),t$(1001):poke53272,21:poke657,128:poke808,225
92 poke53265,23:poke53270,7:poke775,200:poke788,52
99 lu=0:la=0:gosub100:goto110
100 print"[147][154]":poke53281,6:poke53280,6
101 print"[145][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]
102 [153]"(NULL)tantantantan^tantan^ ortantanortantantantan(NULL)
103 print"[221] [221] [173][174][192][189] tsp phone master[154] [173][192][176][189] [221] [221]
104 [153]"(NULL) /tantanexp /tantanexp (NULL)
105 print"[171][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][179]
106 [129]z[178]1[164]18:[153]"(NULL) (NULL)":[130]
108 [153]"/tantantantantantantantantantantantantantan(c)1992 by magic diskconttanexp":[142]
110 [153]"[1] nummern eingeben":[153]"[2] korrigieren
113 print"[3] sortieren":print"[4] ansehen/suchen
115 [153]"list[5] block sichern":[153]"list[6] block laden
116 print"[154][7] speicher loeschen":print"[8] converter
117 [153]"[9] beenden
130 print""m"[154]bytes free in memory
131 [139]an[178]1[167][153]""an"contdatensatz vorhanden":[137]200
132 [153]""an"contdatensaetze vorhanden
200 geta$:ifa$=""then200
202 a=val(a$):ifa<1ora>9then200
205 onagoto300,210,211,212,213,800,214,900,1005
210 ifan>0then500
211 ifan>0then1900
212 ifan>0then1100
213 ifan>0then700
214 ifan>0then1000
215 gosub1240:goto200
216 a$(3)=" druecke taste ":return
220 a$(2)=" der speicher ist zu voll !! "
221 gosub216:goto240
225 a$(2)=" dieser name existiert nicht im block "
226 gosub216:goto240
230 a$(2)=" sind sie sich dabei ganz sicher ?? "
231 a$(3)=" j:ja n:nein ":goto240
232 a$(2)=" dieser block ist nicht auf der disk. "
233 gosub216:goto240
234 a$(2)="[160] es wurden alle datenfelder besetzt "
235 gosub216:goto240
236 a$(2)=" das geraet wurde nicht eingeschaltet "
237 gosub216:goto240
240 print"[147]":poke53280,0:poke53281,0
241 a$(1)=" >>>>>>>>>>>>>> message <<<<<<<<<<<<< "
242 a$(0)=" "
250 print""a$(0):printa$(1):printa$(0):printa$(2):printa$(0):printa$(3)
251 printa$(0)
255 forx=1to100
260 geta$:ifa$=""thennext:goto270
261 onlagoto99,99,1001,1006,99
270 print"[172][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][187]
271 [129]x[178]1[164]5:[153]"getwaitget":[130]x
272 [153]"lognewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewwaitcos
275 forx=1to100
278 geta$:ifa$=""thennext:goto250
280 onlagoto99,99,1001,1006,99
298 rem
299 end
300 gosub100:print"nummern eingeben":lu=1:print"[183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183]
305 an[178]an[170]1:n$(an)[178]"":ma[178]0:mb[178]0:[139]m[179]28[167]la[178]5:[137]220
306 [139]an[177]1000[167]an[178]1000:la[178]5:[137]234
310 [153]"name :
311 print"nummer :
320 [153]""[166]11)n$(an)"stopto ";
330 [161]a$:[139]a$[178]""[167]330
335 [139]a$[178][199](13)[175]ma[177]0[167]365
336 [139]a$[178][199](20)[167]355
337 [139]a$[178]"_"[175]lu[178]1[167]n$(an)[178]"":t$(an)[178]"":an[178]an[171]1:[137]99
338 [139]ma[178]16[167][141]1240:[137]330
340 [139]a$[178]"."[176]a$[178]" "[167]350
345 [139][198](a$)[177]64[175][198](a$)[179]91[167]350
347 [141]1240:[137]330
350 n$(an)[178]n$(an)[170]a$:ma[178]ma[170]1:[137]320
355 [141]360:[137]320
360 [139]ma[178]0[167][129]x[178]1[164]6:[151]53280,x:[130]:[142]
362 n$(an)[178][200](n$(an),ma[171]1):ma[178]ma[171]1:[142]
365 [153]"cmdcmd "
370 [153]""[166]11)t$(an)"stopto ";
380 [161]a$:[139]a$[178]""[167]380
385 [139]a$[178][199](13)[175]mb[177]0[167]420
386 [139]a$[178][199](20)[167]405
387 [139]mb[178]12[167][141]1240:[137]380
390 [139]a$[178]"/"[176]a$[178]" "[176]a$[178]"-"[167]400
395 [139][198](a$)[179]48[176][198](a$)[177]57[167][141]1240:[137]380
400 t$(an)[178]t$(an)[170]a$:mb[178]mb[170]1:[137]370
405 [141]410:[137]370
410 [139]mb[178]0[167][129]x[178]1[164]6:[151]53280,x:[130]:[142]
412 t$(an)[178][200](t$(an),mb[171]1):mb[178]mb[171]1:[142]
420 [153]"cmdcmd "
430 [153]"conteingabe korrekt ?
431 geta$:ifa$=""then431
432 ifa$="y"ora$="j"thena=1:goto450
440 ifa$="n"thena=2:goto450
441 goto431
450 print""spc(11)" ":printspc(11)" "
451 print" "
452 iflu=1then460
455 iflu=2anda=1thenan=y:m=m-ma-mb:goto99
456 goto320
460 ifa=1thenm=m-ma-mb:goto305
461 goto320
500 gosub100:y=an:ma=0:e$="":print"korrigieren":print"[183][183][183][183][183][183][183][183][183][183][183]
501 [153]"name :
510 print""e$"[144][164] ";
520 geta$:ifa$=""then520
521 ifa$=chr$(13)andma>0then535
522 ifa$=chr$(20)then530
523 ifa$="_"then99
524 ifma=16thengosub1240:goto520
525 ifa$="."ora$=" "then528
526 ifasc(a$)>64andasc(a$)<91orasc(a$)>192andasc(a$)<219then528
527 gosub1240:goto520
528 e$=e$+a$:ma=ma+1:goto510
530 gosub531:goto510
531 ifma=0thenforx=1to6:poke53280,x:next:return
532 e$=left$(e$,ma-1):ma=ma-1:return
535 print"[157][157] "
536 iflu=3then930
537 iflu=4then950
540 print"[154]searching...
550 [129]x[178]1[164]an:[139][200](n$(x),ma)[178]e$[167]560
555 [130]x:la[178]2:[137]225
560 [153]"on ":[139]lu[178]6[167]1510
565 [153]"onononon"n$(x):[153]""t$(x):[139]lu[178]5[167]1410
570 [153]"[1] veraendern
571 print"[2] weiter suchen
572 [153]"[3] ausgang
580 geta$:ifa$=""then580
581 ifa$="1"thenma=0:mb=0:lu=2:y=an:an=x:gosub100:goto590
582 ifa$="2"then595
583 ifa$="3"ora$="_"then99
584 goto580
590 m=m+len(n$(x)):m=m+len(t$(x)):n$(x)="":t$(x)="":goto310
595 print"":forz=1to11:print" ":nextz
596 print"[145][145][145][145][145][145][145]searching again...":goto555
610 ifa$="j"then99
700 open2,8,2:close2:ifst<>0thenla=2:goto236
701 gosub100:ma=0:e$="":print"block sichern":print"[183][183][183][183][183][183][183][183][183][183][183][183][183]
710 [153]"welchen block (1-9) ?
720 geta$:ifa$=""then720
721 ifa$="_"then99
722 a=val(a$):ifa<1ora>9then720
730 open1,8,9,"@:block"+a$+",s,w
740 [152]1,an",":[152]1,m","
750 [129]x[178]1[164]an
751 [153]""[166]16)an[170]an[171]x"cmd "
752 [152]1,t$(x)",":[130]x
753 [129]x[178]1[164]an
754 [153]""[166]16)an[171]x"cmd ":[152]1,n$(x)",":[130]x
755 [160]1:[137]99
800 [159]2,8,2:[160]2:[139]st[179][177]0[167]la[178]2:[137]236
801 [141]100:ma[178]0:e$[178]"":[153]"block laden":[153]"usrusrusrusrusrusrusrusrusrusrusr
810 print"welchen block (1-9) ?
820 [161]a$:[139]a$[178]""[167]820
821 [139]a$[178]"_"[167]99
822 a[178][197](a$):[139]a[179]1[176]a[177]9[167]820
830 y[178]an:an[178]0:[159]1,8,9,"block"[170]a$[170]",s,r":[159]15,8,15:[132]15,a:[160]15
832 [139]a[178]0[167][160]1:[159]1,8,9,"block"[170]a$[170]",s,r":[137]845
840 la[178]5:an[178]y:[160]1:[137]232
845 [132]1,an:[132]1,m
850 [129]x[178]1[164]an:[153]""[166]16)an[170]an[171]x"cmd ":[132]1,t$(x):[130]x
865 [129]x[178]1[164]an:[153]""[166]16)an[171]x"cmd ":[132]1,n$(x):[130]x
875 [160]1:[129]x[178]1[164]10:n$(x[170]an)[178]"":t$(x[170]an)[178]"":[130]:[137]99
900 [159]2,8,2:[160]2:[139]st[179][177]0[167]la[178]2:[137]236
901 [141]100:ma[178]0:e$[178]"":[153]"converter":[153]"usrusrusrusrusrusrusrusrusr
902 print"[1] daten-verwaltung
903 [153]"[2] pro register
906 print"[3] ausgang
910 [161]a$:[139]a$[178]""[167]910
911 [139]a$[178]"1"[167]lu[178]3:[137]920
912 [139]a$[178]"2"[167]lu[178]4:[137]920
913 [139]a$[178]"3"[176]a$[178]"_"[167]99
914 [137]910
920 [141]100:ma[178]0:e$[178]"":[153]"converter":[153]"usrusrusrusrusrusrusrusrusr
921 goto501
930 open1,8,9,+e$+",s,r
931 [132]1,a,b
932 an[178]b[171]a:m[178]20000:[139]a[178]1[167]an[178]b:[137]940
940 [129]x[178]a[164]an:[132]1,n$(x),b$,a$,a$,t$(x):m[178]m[171][195](n$(x)):m[178]m[171][195](t$(x))
941 n$(x)[178]n$(x)[170]" ":n$(x)[178]n$(x)[170]b$:m[178]m[171][195](b$):m[178]m[171]1:b$[178]"":[130]x:[160]1:[137]970
950 [159]1,8,9,[170]e$[170]",s,r
960 input#1,an:forx=1toan:input#1,a$,b$:n$(x)=left$(a$,16):t$(x)=left$(b$,12)
965 m=m-len(n$(x)):m=m-len(t$(x)):nextx
970 close1:forx=1to10:n$(x+an)="":t$(x+an)="":nextx:goto99
1000 la=3:goto230
1001 ifa$="j"thenclr:m=24000:dimn$(1501),t$(1501):goto99
1002 goto99
1005 la=4:goto230
1006 ifa$="j"thensys64738
1007 goto99
1100 gosub100:s=1:print"name telefon
1101 [153]"------------------------------------
1110 print"------------------------------------
1120 [153]"[1] seite vor [6] loeschen
1121 print"[2] seite zurueck [7] filtern
1122 [153]"[3] seite drucken [8] filter aus
1123 print"[4] block anfang [9] ausgang
1124 [153]"[5] suchen
1150 iffi=1then1160
1151 print"":forx=stos+9:print""n$(x):print"[145]"spc(25)t$(x):next
1152 goto1200
1160 print"":forx=stos+9
1161 ifleft$(t$(x),len(fi$))<>fi$thenprint""n$(x):print"[145]"spc(25)t$(x)
1162 ifleft$(t$(x),len(fi$))=fi$thenprint""n$(x):print"[145]"spc(25)t$(x)
1163 next
1200 geta$:ifa$=""then1200
1201 ifa$="_"then99
1202 a=val(a$):ifa<1ora>9then1200
1210 onagoto1220,1230,1800,1300,1400,1500,1600,1700,99
1220 ifn$(s+10)=""thengosub1240:goto1200
1221 s=s+10:gosub1250:goto1150
1230 ifs=1thengosub1240:goto1200
1231 s=s-10:gosub1250:goto1150
1240 forz=1to6:poke53280,z:nextz:return
1250 print"":forz=1to10:print" "
1251 next:return
1300 s=1:gosub1250:goto1150
1400 gosub100:lu=5:ma=0:e$="":print"suchen":print"[183][183][183][183][183][183]
1401 [137]501
1410 [153]"druecke taste
1411 geta$:ifa$=""then1411
1412 goto99
1500 gosub100:lu=6:ma=0:e$="":print"loeschen":print"[183][183][183][183][183][183][183][183]
1501 [137]501
1510 [153]"onbitte warten "
1520 [139]x[178]an[167]m[178]m[170][195](n$(x)):m[178]m[170][195](t$(x)):n$(x)[178]"":t$(x)[178]"":an[178]an[171]1:[137]99
1530 m[178]m[170][195](n$(x)):m[178]m[170][195](t$(x))
1531 [129]y[178]x[164]an:n$(y)[178]n$(y[170]1):t$(y)[178]t$(y[170]1):[130]y:an[178]an[171]1:[137]99
1600 [141]100:lu[178]7:ma[178]0:e$[178]"":[153]"filter":[153]"usrusrusrusrusrusr
1601 print"vorwahl :
1602 [153]""e$"stopto ";
1603 [161]a$:[139]a$[178]""[167]1603
1604 [139]a$[178][199](13)[175]ma[177]0[167]1615
1605 [139]a$[178][199](20)[167]1612
1606 [139]a$[178]"_"[167]99
1607 [139]ma[178]12[167][141]1240:[137]1603
1608 [139]a$[178]"/"[176]a$[178]"-"[176]a$[178]" "[167]1611
1609 [139][198](a$)[177]47[175][198](a$)[179]58[167]1611
1610 [141]1240:[137]1603
1611 e$[178]e$[170]a$:ma[178]ma[170]1:[137]1602
1612 [141]1613:[137]1602
1613 [139]ma[178]0[167][129]x[178]1[164]6:[151]53280,x:[130]:[142]
1614 e$[178][200](e$,ma[171]1):ma[178]ma[171]1:[142]
1615 [153]"cmdcmd ":fi[178]1:fi$[178]e$:[137]1100
1700 fi[178]0:fi$[178]"":[137]1151
1800 [159]2,4,7:[160]2:[139]st[179][177]0[167]la[178]2:[137]236
1810 b$[178]" ":a$[178]""
1811 [159]4,4:[129]x[178]s[164]s[170]9
1812 a$[178]n$(x):a[178][195](n$(x)):b[178]20[171]a:[129]y[178]1[164]b:a$[178]a$[170]" ":[130]:[152]4,a$;t$(x)
1813 [130]:[160]4,4:[137]1200
1900 [139]an[177]1[167]2000
1901 [137]215
2000 aa[178]an:a[178]an:[129]x[178]a[164]0[169][171]1:[129]y[178]1[164]aa
2001 [139]n$(y)[177]n$(x)[167]2004
2002 [130]y:[130]x
2003 [137]2006
2004 a$(1)[178]n$(y):n$(y)[178]n$(x):n$(x)[178]a$(1):a$(2)[178]t$(y):t$(y)[178]t$(x):t$(x)[178]a$(2)
2005 [151]53280,[181](15[172][187](0))[170]1:[137]2002
2006 a$(1)[178]n$(0):a$(2)[178]t$(0)
2007 [129]x[178]0[164]aa:n$(x)[178]n$(x[170]1):t$(x)[178]t$(x[170]1):[130]x:n$(aa)[178]a$(1):t$(aa)[178]a$(2)
2008 [137]99